package club.msecret.mblog.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import javax.persistence.*;;
import java.io.Serializable;

/**
 * @Description  
 * @Author  
 * @Date 2020-11-09 
 */

@Entity
@Data
@Table ( name ="user" )
public class User implements Serializable {

	private static final long serialVersionUID =  1L;

    @Id
    @KeySql(useGeneratedKeys = true)
   	@Column(name = "uid" )
	private Long uid;

   	@Column(name = "uname" )
	private String uname;

   	@Column(name = "tel" )
	private Long tel;

   	@Column(name = "password" )
	private String password;

}
